﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AC_ActivityHistory.aspx.cs" Inherits="KPIS.GERP.GHRMS.APP.App_UI.Forms.AC_ActivityHistory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<link href="../../Styles/CssClass.css" rel="stylesheet" type="text/css" />
    <title>ประวัติการเข้าร่วมกิจกรรม</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>     
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="PanelA">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="PanelA" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server">
    </telerik:RadAjaxLoadingPanel>
     
 
<asp:Panel ID="PanelHistiry" runat="server" width ="910px">
    <asp:Label ID="lblID" runat="server" Visible="False"></asp:Label>
    <asp:panel ID="Panel12" runat="server" >
    <table width="910px" cellpadding="0" cellspacing="0">
    <tr width="910px>
    <td colspan = "3" >
        <div class="moduleDivSlim1000">
        <div class="moduleDivBottom1000">
        <table align="center" width ="910px" >
        <tr>
            <td align="left" class="tableHeader">
                ประวัติการเข้าร่วมกิจกรรม</td>
        </tr>
        </table>
        <table width ="910px" align="center">
        <tr align="center">
        <td >
        <asp:Panel ID="Panel13" 
            runat="server" 
            Width="900px" 
            Height="330px" ScrollBars="Auto" >
            <telerik:RadGrid ID="RadGrid5" runat="server" AllowFilteringByColumn="True" AllowAutomaticDeletes="True"
                AllowMultiRowEdit="True" AllowMultiRowSelection="True" AllowPaging="True" 
                AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True" 
                EnableAJAXLoadingTemplate="True" GridLines="None" 
                Skin="Outlook" Width="98%">
                <MasterTableView AllowMultiColumnSorting="True" CellSpacing="-1" 
                    ClientDataKeyNames="act_request_seq" CommandItemDisplay="Top" DataKeyNames="act_request_seq" 
                    InsertItemPageIndexAction="ShowItemOnCurrentPage" 
                    NoMasterRecordsText="&lt; ไม่มีข้อมูล &gt;">
                        <CommandItemTemplate>
                            <table width="100%">
                                <tr>
                                <td>
                                </td>
                                </tr>
                            </table>
                        </CommandItemTemplate>                        
                        <Columns>                             
                            <telerik:GridBoundColumn DataField="act_request_seq" 
                                DataType="System.Int32" 
                                Display="False" 
                                ReadOnly="True" 
                                UniqueName="act_request_seq" 
                                Visible="False">
                            </telerik:GridBoundColumn>
                            
                            <telerik:GridBoundColumn DataField="act_descr" 
                               HeaderText="กิจกรรม" 
                               ShowFilterIcon="false"
                               FilterControlWidth="100%"
                               CurrentFilterFunction="Contains"
                               AutoPostBackOnFilter="true"
                               UniqueName="act_descr">
                               <HeaderStyle Wrap="False" HorizontalAlign="Center" Width="250px" />
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                           
                             <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                CurrentFilterFunction="Contains" 
                                DataFormatString="{0:d}" 
                                DataField="date_activity_start" 
                                FilterControlWidth="100%" HeaderText="วันที่เริ่มกิจกรรม" ShowFilterIcon="false" 
                                UniqueName="date_activity_start" 
                                Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Wrap="False" Width="80px"/>
                            </telerik:GridBoundColumn> 
                            
                             <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                CurrentFilterFunction="Contains" 
                                DataFormatString="{0:d}" 
                                DataField="date_activity_end" 
                                FilterControlWidth="100%" HeaderText="วันที่สิ้นสุดกิจกรรม" ShowFilterIcon="false" 
                                UniqueName="date_activity_end" 
                                Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Wrap="False" Width="80px"/>
                            </telerik:GridBoundColumn> 
                        </Columns>
                        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                    </MasterTableView>
                    <ClientSettings AllowColumnHide="True" AllowColumnsReorder="True" 
                        EnableRowHoverStyle="True" ReorderColumnsOnClient="True">
                        <Selecting AllowRowSelect="True" EnableDragToSelectRows="true" />
                    </ClientSettings>
                </telerik:RadGrid>
            </asp:Panel>
        </td>
        </tr>
        </table>
        </div>
        </div>
    </td>
    </tr>
    </table>
    </asp:panel>
 </asp:Panel>
</form>
</body>
</html>
